package Utils.Gameplay;

import java.util.HashMap;
import java.util.Map;

public class Question {
   private String questionText;
   private Map<String,Boolean> answers;
   
   public Question(String questionText){
	   this.setQuestionText(questionText);
	   answers = new HashMap<String,Boolean>();
   }

public String getQuestionText() {
	return questionText;
}

public void setQuestionText(String questionText) {
	this.questionText = questionText;
}

public Map<String,Boolean> getAnswers() {
	return answers;
}

public void setAnswers(Map<String,Boolean> answers) {
	this.answers = answers;
}

public void AddAnswer(String answerText,boolean answerValue){
	answers.put(answerText, new Boolean(answerValue));
}

public boolean isAnswerCorrect(String answerText){
	return this.answers.get(answerText);
}


}
